package com.yycwxt.modules.admin.store;

import java.util.Map;

public class MySelectProvider {
    public String mohu(Map<String, Object> map){
        String input = (String) map.get("input");
        String template = """
                        select * from glb_store where id = '%s' ;
                """;
        StringBuilder sql = new StringBuilder();
        // sql.append(String.format(template,input,input,input,input,input,input,input));
        System.out.println(sql);
        sql.append(String.format(template,input));
        return sql.toString();
    }
}
